package com.example.entity;

import lombok.*;

/**
 * @author readpage
 * @create 2022-09-09 22:00
 */
@Data //生成set get  to string方法
@NoArgsConstructor //提供无参构造器
@AllArgsConstructor //提供全参构造器
@RequiredArgsConstructor //提供必需参数的构造器
public class Role {
    @NonNull
    private Integer id;

    private String name;

    private String nickname;
}
